Skip to content

Sync 20260206b#25

Merged
mannfredcom merged 3 commits intomannfredcom:mainfrom
synandro:main
Feb 6, 2026
Merged

Sync 20260206b#25
mannfredcom merged 3 commits intomannfredcom:mainfrom
synandro:main

Conversation

@mannfredcom
Copy link
Owner

No description provided.

@mannfredcom mannfredcom merged commit adcdb98 into mannfredcom:main Feb 6, 2026
1 check passed
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 281012eb50

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

size_t len = strlen(src);
size_t res = dsize + len;

assert(dsize >= count);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Fix inverted assert in rb_strlcat

The new assert(dsize >= count) is inverted: in normal, safe use of rb_strlcat, dsize is usually less than count. This assertion will therefore abort debug builds on valid inputs (e.g., when there is room in the destination buffer), while it does nothing to guard the actual overflow case (dsize >= count, which should short-circuit or return). This changes behavior from “works in release and debug” to “debug-only crash” for standard usage.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants